package com.quanyan.club.entity.db;

import com.quanyan.common.utils.Limit;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class TbClubTaskExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected int limitStart = 0;

    protected int limitEnd = 0;

    protected Limit limit;

    public TbClubTaskExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimitStart(int limitStart) {
        this.limitStart=limitStart;
    }

    public int getLimitStart() {
        return limitStart;
    }

    public void setLimitEnd(int limitEnd) {
        this.limitEnd=limitEnd;
    }

    public int getLimitEnd() {
        return limitEnd;
    }

    public void setLimit(Limit limit) {
        this.limit=limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNull() {
            addCriterion("group_id is null");
            return (Criteria) this;
        }

        public Criteria andGroupIdIsNotNull() {
            addCriterion("group_id is not null");
            return (Criteria) this;
        }

        public Criteria andGroupIdEqualTo(Integer value) {
            addCriterion("group_id =", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotEqualTo(Integer value) {
            addCriterion("group_id <>", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThan(Integer value) {
            addCriterion("group_id >", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("group_id >=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThan(Integer value) {
            addCriterion("group_id <", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdLessThanOrEqualTo(Integer value) {
            addCriterion("group_id <=", value, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdIn(List<Integer> values) {
            addCriterion("group_id in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotIn(List<Integer> values) {
            addCriterion("group_id not in", values, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdBetween(Integer value1, Integer value2) {
            addCriterion("group_id between", value1, value2, "groupId");
            return (Criteria) this;
        }

        public Criteria andGroupIdNotBetween(Integer value1, Integer value2) {
            addCriterion("group_id not between", value1, value2, "groupId");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNull() {
            addCriterion("task_name is null");
            return (Criteria) this;
        }

        public Criteria andTaskNameIsNotNull() {
            addCriterion("task_name is not null");
            return (Criteria) this;
        }

        public Criteria andTaskNameEqualTo(String value) {
            addCriterion("task_name =", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotEqualTo(String value) {
            addCriterion("task_name <>", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThan(String value) {
            addCriterion("task_name >", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameGreaterThanOrEqualTo(String value) {
            addCriterion("task_name >=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThan(String value) {
            addCriterion("task_name <", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLessThanOrEqualTo(String value) {
            addCriterion("task_name <=", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameLike(String value) {
            addCriterion("task_name like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotLike(String value) {
            addCriterion("task_name not like", value, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameIn(List<String> values) {
            addCriterion("task_name in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotIn(List<String> values) {
            addCriterion("task_name not in", values, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameBetween(String value1, String value2) {
            addCriterion("task_name between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskNameNotBetween(String value1, String value2) {
            addCriterion("task_name not between", value1, value2, "taskName");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNull() {
            addCriterion("task_type is null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIsNotNull() {
            addCriterion("task_type is not null");
            return (Criteria) this;
        }

        public Criteria andTaskTypeEqualTo(Integer value) {
            addCriterion("task_type =", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotEqualTo(Integer value) {
            addCriterion("task_type <>", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThan(Integer value) {
            addCriterion("task_type >", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_type >=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThan(Integer value) {
            addCriterion("task_type <", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeLessThanOrEqualTo(Integer value) {
            addCriterion("task_type <=", value, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeIn(List<Integer> values) {
            addCriterion("task_type in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotIn(List<Integer> values) {
            addCriterion("task_type not in", values, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeBetween(Integer value1, Integer value2) {
            addCriterion("task_type between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andTaskTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("task_type not between", value1, value2, "taskType");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartIsNull() {
            addCriterion("active_time_start is null");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartIsNotNull() {
            addCriterion("active_time_start is not null");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartEqualTo(Date value) {
            addCriterion("active_time_start =", value, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartNotEqualTo(Date value) {
            addCriterion("active_time_start <>", value, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartGreaterThan(Date value) {
            addCriterion("active_time_start >", value, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartGreaterThanOrEqualTo(Date value) {
            addCriterion("active_time_start >=", value, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartLessThan(Date value) {
            addCriterion("active_time_start <", value, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartLessThanOrEqualTo(Date value) {
            addCriterion("active_time_start <=", value, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartIn(List<Date> values) {
            addCriterion("active_time_start in", values, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartNotIn(List<Date> values) {
            addCriterion("active_time_start not in", values, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartBetween(Date value1, Date value2) {
            addCriterion("active_time_start between", value1, value2, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeStartNotBetween(Date value1, Date value2) {
            addCriterion("active_time_start not between", value1, value2, "activeTimeStart");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndIsNull() {
            addCriterion("active_time_end is null");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndIsNotNull() {
            addCriterion("active_time_end is not null");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndEqualTo(Date value) {
            addCriterion("active_time_end =", value, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndNotEqualTo(Date value) {
            addCriterion("active_time_end <>", value, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndGreaterThan(Date value) {
            addCriterion("active_time_end >", value, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndGreaterThanOrEqualTo(Date value) {
            addCriterion("active_time_end >=", value, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndLessThan(Date value) {
            addCriterion("active_time_end <", value, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndLessThanOrEqualTo(Date value) {
            addCriterion("active_time_end <=", value, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndIn(List<Date> values) {
            addCriterion("active_time_end in", values, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndNotIn(List<Date> values) {
            addCriterion("active_time_end not in", values, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndBetween(Date value1, Date value2) {
            addCriterion("active_time_end between", value1, value2, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andActiveTimeEndNotBetween(Date value1, Date value2) {
            addCriterion("active_time_end not between", value1, value2, "activeTimeEnd");
            return (Criteria) this;
        }

        public Criteria andAutoGetIsNull() {
            addCriterion("auto_get is null");
            return (Criteria) this;
        }

        public Criteria andAutoGetIsNotNull() {
            addCriterion("auto_get is not null");
            return (Criteria) this;
        }

        public Criteria andAutoGetEqualTo(Boolean value) {
            addCriterion("auto_get =", value, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetNotEqualTo(Boolean value) {
            addCriterion("auto_get <>", value, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetGreaterThan(Boolean value) {
            addCriterion("auto_get >", value, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetGreaterThanOrEqualTo(Boolean value) {
            addCriterion("auto_get >=", value, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetLessThan(Boolean value) {
            addCriterion("auto_get <", value, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetLessThanOrEqualTo(Boolean value) {
            addCriterion("auto_get <=", value, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetIn(List<Boolean> values) {
            addCriterion("auto_get in", values, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetNotIn(List<Boolean> values) {
            addCriterion("auto_get not in", values, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetBetween(Boolean value1, Boolean value2) {
            addCriterion("auto_get between", value1, value2, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoGetNotBetween(Boolean value1, Boolean value2) {
            addCriterion("auto_get not between", value1, value2, "autoGet");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsIsNull() {
            addCriterion("auto_awards is null");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsIsNotNull() {
            addCriterion("auto_awards is not null");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsEqualTo(Boolean value) {
            addCriterion("auto_awards =", value, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsNotEqualTo(Boolean value) {
            addCriterion("auto_awards <>", value, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsGreaterThan(Boolean value) {
            addCriterion("auto_awards >", value, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsGreaterThanOrEqualTo(Boolean value) {
            addCriterion("auto_awards >=", value, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsLessThan(Boolean value) {
            addCriterion("auto_awards <", value, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsLessThanOrEqualTo(Boolean value) {
            addCriterion("auto_awards <=", value, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsIn(List<Boolean> values) {
            addCriterion("auto_awards in", values, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsNotIn(List<Boolean> values) {
            addCriterion("auto_awards not in", values, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsBetween(Boolean value1, Boolean value2) {
            addCriterion("auto_awards between", value1, value2, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andAutoAwardsNotBetween(Boolean value1, Boolean value2) {
            addCriterion("auto_awards not between", value1, value2, "autoAwards");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectIsNull() {
            addCriterion("task_for_object is null");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectIsNotNull() {
            addCriterion("task_for_object is not null");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectEqualTo(Integer value) {
            addCriterion("task_for_object =", value, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectNotEqualTo(Integer value) {
            addCriterion("task_for_object <>", value, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectGreaterThan(Integer value) {
            addCriterion("task_for_object >", value, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectGreaterThanOrEqualTo(Integer value) {
            addCriterion("task_for_object >=", value, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectLessThan(Integer value) {
            addCriterion("task_for_object <", value, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectLessThanOrEqualTo(Integer value) {
            addCriterion("task_for_object <=", value, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectIn(List<Integer> values) {
            addCriterion("task_for_object in", values, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectNotIn(List<Integer> values) {
            addCriterion("task_for_object not in", values, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectBetween(Integer value1, Integer value2) {
            addCriterion("task_for_object between", value1, value2, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTaskForObjectNotBetween(Integer value1, Integer value2) {
            addCriterion("task_for_object not between", value1, value2, "taskForObject");
            return (Criteria) this;
        }

        public Criteria andTotalEggIsNull() {
            addCriterion("total_egg is null");
            return (Criteria) this;
        }

        public Criteria andTotalEggIsNotNull() {
            addCriterion("total_egg is not null");
            return (Criteria) this;
        }

        public Criteria andTotalEggEqualTo(Integer value) {
            addCriterion("total_egg =", value, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggNotEqualTo(Integer value) {
            addCriterion("total_egg <>", value, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggGreaterThan(Integer value) {
            addCriterion("total_egg >", value, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggGreaterThanOrEqualTo(Integer value) {
            addCriterion("total_egg >=", value, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggLessThan(Integer value) {
            addCriterion("total_egg <", value, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggLessThanOrEqualTo(Integer value) {
            addCriterion("total_egg <=", value, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggIn(List<Integer> values) {
            addCriterion("total_egg in", values, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggNotIn(List<Integer> values) {
            addCriterion("total_egg not in", values, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggBetween(Integer value1, Integer value2) {
            addCriterion("total_egg between", value1, value2, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andTotalEggNotBetween(Integer value1, Integer value2) {
            addCriterion("total_egg not between", value1, value2, "totalEgg");
            return (Criteria) this;
        }

        public Criteria andRuleDescIsNull() {
            addCriterion("rule_desc is null");
            return (Criteria) this;
        }

        public Criteria andRuleDescIsNotNull() {
            addCriterion("rule_desc is not null");
            return (Criteria) this;
        }

        public Criteria andRuleDescEqualTo(String value) {
            addCriterion("rule_desc =", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotEqualTo(String value) {
            addCriterion("rule_desc <>", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescGreaterThan(String value) {
            addCriterion("rule_desc >", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescGreaterThanOrEqualTo(String value) {
            addCriterion("rule_desc >=", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLessThan(String value) {
            addCriterion("rule_desc <", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLessThanOrEqualTo(String value) {
            addCriterion("rule_desc <=", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLike(String value) {
            addCriterion("rule_desc like", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotLike(String value) {
            addCriterion("rule_desc not like", value, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescIn(List<String> values) {
            addCriterion("rule_desc in", values, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotIn(List<String> values) {
            addCriterion("rule_desc not in", values, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescBetween(String value1, String value2) {
            addCriterion("rule_desc between", value1, value2, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescNotBetween(String value1, String value2) {
            addCriterion("rule_desc not between", value1, value2, "ruleDesc");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkIsNull() {
            addCriterion("rule_desc_link is null");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkIsNotNull() {
            addCriterion("rule_desc_link is not null");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkEqualTo(String value) {
            addCriterion("rule_desc_link =", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkNotEqualTo(String value) {
            addCriterion("rule_desc_link <>", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkGreaterThan(String value) {
            addCriterion("rule_desc_link >", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkGreaterThanOrEqualTo(String value) {
            addCriterion("rule_desc_link >=", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkLessThan(String value) {
            addCriterion("rule_desc_link <", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkLessThanOrEqualTo(String value) {
            addCriterion("rule_desc_link <=", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkLike(String value) {
            addCriterion("rule_desc_link like", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkNotLike(String value) {
            addCriterion("rule_desc_link not like", value, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkIn(List<String> values) {
            addCriterion("rule_desc_link in", values, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkNotIn(List<String> values) {
            addCriterion("rule_desc_link not in", values, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkBetween(String value1, String value2) {
            addCriterion("rule_desc_link between", value1, value2, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andRuleDescLinkNotBetween(String value1, String value2) {
            addCriterion("rule_desc_link not between", value1, value2, "ruleDescLink");
            return (Criteria) this;
        }

        public Criteria andMultipleIsNull() {
            addCriterion("multiple is null");
            return (Criteria) this;
        }

        public Criteria andMultipleIsNotNull() {
            addCriterion("multiple is not null");
            return (Criteria) this;
        }

        public Criteria andMultipleEqualTo(Integer value) {
            addCriterion("multiple =", value, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleNotEqualTo(Integer value) {
            addCriterion("multiple <>", value, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleGreaterThan(Integer value) {
            addCriterion("multiple >", value, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleGreaterThanOrEqualTo(Integer value) {
            addCriterion("multiple >=", value, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleLessThan(Integer value) {
            addCriterion("multiple <", value, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleLessThanOrEqualTo(Integer value) {
            addCriterion("multiple <=", value, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleIn(List<Integer> values) {
            addCriterion("multiple in", values, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleNotIn(List<Integer> values) {
            addCriterion("multiple not in", values, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleBetween(Integer value1, Integer value2) {
            addCriterion("multiple between", value1, value2, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleNotBetween(Integer value1, Integer value2) {
            addCriterion("multiple not between", value1, value2, "multiple");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeIsNull() {
            addCriterion("multiple_start_time is null");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeIsNotNull() {
            addCriterion("multiple_start_time is not null");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeEqualTo(Date value) {
            addCriterion("multiple_start_time =", value, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeNotEqualTo(Date value) {
            addCriterion("multiple_start_time <>", value, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeGreaterThan(Date value) {
            addCriterion("multiple_start_time >", value, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("multiple_start_time >=", value, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeLessThan(Date value) {
            addCriterion("multiple_start_time <", value, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeLessThanOrEqualTo(Date value) {
            addCriterion("multiple_start_time <=", value, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeIn(List<Date> values) {
            addCriterion("multiple_start_time in", values, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeNotIn(List<Date> values) {
            addCriterion("multiple_start_time not in", values, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeBetween(Date value1, Date value2) {
            addCriterion("multiple_start_time between", value1, value2, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleStartTimeNotBetween(Date value1, Date value2) {
            addCriterion("multiple_start_time not between", value1, value2, "multipleStartTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeIsNull() {
            addCriterion("multiple_end_time is null");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeIsNotNull() {
            addCriterion("multiple_end_time is not null");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeEqualTo(Date value) {
            addCriterion("multiple_end_time =", value, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeNotEqualTo(Date value) {
            addCriterion("multiple_end_time <>", value, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeGreaterThan(Date value) {
            addCriterion("multiple_end_time >", value, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("multiple_end_time >=", value, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeLessThan(Date value) {
            addCriterion("multiple_end_time <", value, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeLessThanOrEqualTo(Date value) {
            addCriterion("multiple_end_time <=", value, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeIn(List<Date> values) {
            addCriterion("multiple_end_time in", values, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeNotIn(List<Date> values) {
            addCriterion("multiple_end_time not in", values, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeBetween(Date value1, Date value2) {
            addCriterion("multiple_end_time between", value1, value2, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andMultipleEndTimeNotBetween(Date value1, Date value2) {
            addCriterion("multiple_end_time not between", value1, value2, "multipleEndTime");
            return (Criteria) this;
        }

        public Criteria andStatusIsNull() {
            addCriterion("status is null");
            return (Criteria) this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion("status is not null");
            return (Criteria) this;
        }

        public Criteria andStatusEqualTo(Integer value) {
            addCriterion("status =", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotEqualTo(Integer value) {
            addCriterion("status <>", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThan(Integer value) {
            addCriterion("status >", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("status >=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThan(Integer value) {
            addCriterion("status <", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusLessThanOrEqualTo(Integer value) {
            addCriterion("status <=", value, "status");
            return (Criteria) this;
        }

        public Criteria andStatusIn(List<Integer> values) {
            addCriterion("status in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotIn(List<Integer> values) {
            addCriterion("status not in", values, "status");
            return (Criteria) this;
        }

        public Criteria andStatusBetween(Integer value1, Integer value2) {
            addCriterion("status between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("status not between", value1, value2, "status");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}